#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main()
{
	int a = 1;
	int b = 1;
	while (a < 10)
	{
		while (b < 10)
		{
			printf("%d*%d=%d ", a, b, a * b);
			b++;
		}
		if (b > 9)
		{
			b = 1;
			a++;
		}
		printf("\n");
	}




	return 0;
}